package com.gton.person.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gton.person.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: PersonalDesign
 * @description: 权限表mapper
 * @author: GuoTong
 * @create: 2020-11-26 09:29
 **/
@Mapper
public interface RoleMapper  extends BaseMapper<Role> {

//    插入权限：注册初始权限
    int insertRoleByRegister(Role role);

    List<Role> selectAllInList();
}
